<?php

/**
 * @Author: DEEP-2018BRTYLP\Administrator
 * @Date:   2019-03-19 15:17:42
 * @Last Modified by:   DEEP-2018BRTYLP\Administrator
 * @Last Modified time: 2019-03-19 15:53:21
 */
namespace app\api\controller;
use app\common\model\Version;
use fast\Random;
use think\Config;
use think\Controller;
use app\common\controller\WeiXin;
/**
 * 
 */
Class Base extends Controller
{   
	public $WX_APPID = 'wx6f8f0af9f1aa443a';

	public $WX_APPSECRET = 'f5a3d356ced0a028c91260222500d088';
	
	public function return_success($msg = '', $data = null, $code = 1)
	{
		return json(['msg' =>$msg,'data'=> $data,'code' =>$code]);
	}

	public function return_error($msg = '', $data = null, $code = 1)
	{
		return json(['msg' =>$msg,'data'=> $data,'code' =>$code]);
	}

	/**
	 * 验证签名 注册用户信息
	 * @return [type] [description]
	 */
	public function notify(){
		$weixin = new WeiXin();
		$weixin->signature();
	}


}
